﻿<UserControl 
    x:Class="Dashboard.ClusterDendrogram"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:Dendrogram="clr-namespace:UI.Dendrogram;assembly=UI.Dendrogram" 
    xmlns:Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 
    xmlns:HeatMaps="clr-namespace:UI.HeatMaps;assembly=UI.HeatMaps" 
    HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" Grid.Row="0">
            <CheckBox x:Name="ckShowDocTree" IsChecked="true" Content="Show doc tree"
                      Click="ckShowDocTree_Click" IsEnabled="False"/>
            <CheckBox x:Name="ckShowTermTree" IsChecked="false" Content="Show term tree"
                      Click="ckShowTermTree_Click"/>
            <CheckBox x:Name="ckShowHeatmap" IsChecked="false" Content="Show heat maps"
                      Click="ckShowHeatmap_Click"/>
        </StackPanel>
        <ScrollViewer>
            <Dendrogram:CrossDendrogramCanvas Grid.Row="1"
                x:Name="dendrogram" Width="900" Height="600"
                HorizontalAlignment="Left" VerticalAlignment="Top" />
        </ScrollViewer>
    </Grid>
</UserControl>
